package org.jxht.service;

import org.jxht.dto.entity.ResponseCourseEntity;
import org.jxht.dto.entity.ResponseScheduleEntity;
import org.jxht.dto.AdminDto;
import org.jxht.dto.CourseDto;

import java.util.List;

/**
 * Created by huang on 2017/3/15 0015.
 */
public interface CourseService {

//    插
    public void insertCourseService(CourseDto dto);

//    查
    public List queryCourseService(CourseDto dto);

//    查
    public CourseDto queryCourseServiceById(CourseDto dto);

//    更
    public void updataCourseService(CourseDto dto);

//    删
    public void deleteCourseService(CourseDto dto);

//    查询课程详情
    public List queryCourseDetail(ResponseCourseEntity entity);

//    控制选修课程开启
    public void updataElectiveCourse(AdminDto dto);

//    查询选修课程是否开启
    public int queryaElectiveCourse();

//    获取课程表
    public List<ResponseScheduleEntity> queryStuSchedule(long userId, String status);
}
